import React from 'react';
class VoteHead extends React.Component {
	render() {
		let { title, supNum, oppNum } = this.props;
		return <header style={{
			background: 'lightblue'
		}}>
			<h3>{title}</h3>
			<span>N:{supNum + oppNum}</span>
		</header>;
	}
}
export default VoteHead;